import request from '@/utils/request'

export function commonUpload(file) {
    const form = new FormData();
    form.append("file", file);
    return request({
        url: '/common/upload',
        method: 'post',
        data: form,
        headers: { "content-type": "multipart/form-data" }
    })
}
